package com.tyx.chargingpile.service;

import com.tyx.chargingpile.dao.MonitorOrderHeartInfoDao;
import com.tyx.chargingpile.pojo.MonitorOrderHeartInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class MonitorOrderHeartInfoService {
    @Autowired
    private MonitorOrderHeartInfoDao monitorOrderHeartInfoDao;

    public void add(MonitorOrderHeartInfo monitorOrderHeartInfo){
        monitorOrderHeartInfoDao.save(monitorOrderHeartInfo);
    }
}
